﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
//
using iPublic;

namespace HRecycle.SysTools
{
    /// <summary>
    /// 系统设置，海宏软件
    /// 修改记录：
    ///   20171214，zch，创建基本功能
    /// </summary>
    public partial class FrmSysConfig : Form
    {
        public FrmSysConfig()
        {
            InitializeComponent();
        }

        private void FrmSysConfig_Load(object sender, EventArgs e)
        {
            showInfo("★★进入系统设置单元★★");
        }

        private void btn_ok_Click(object sender, EventArgs e)
        {
            Close();
            DialogResult = DialogResult.OK;
        }

        private void btn_cancel_Click(object sender, EventArgs e)
        {
            Close();
            DialogResult = DialogResult.Cancel;
        }

        public void showInfo(string sInfo, bool lTime = true)
        {
            lbl_info.Text = sInfo;
            iLog.writeLogFile(sInfo);
        }


    }

}
